import axios from '@/libs/request/axios'

/**
 *
 * @param params
 * @returns {*}
 */
export const getConditionApprove = (params) => {
    return axios.request({
        url: "apply/conditionApproval/getApplyConditionApprovalInfo",
        data: params,
        method: 'post'
    })
}

/**
 *附条件核准结果MQ推送
 * @param params
 * @returns {*}
 */
export const sendConditionApprovalMessage = (params) => {
    return axios.request({
        url: "apply/sendConditionMQ/sendConditionApprovalMessage",
        data: params,
        method: 'post'
    })
}

/**
 * 根据业务编号查询审批记录信息
 * @param params
 * @returns {*}
 */
export const getWorkflowRecordListByBusinessNo = (params) => {
    return axios.request({
        url: '/apply/record/getWorkflowRecordListByBusinessNo',
        method: "POST",
        data: params,
    });
}
